/* shift.h */

#ifndef SHIFT_H
#define SHIFT_H

void shift_out_init(volatile uint8_t* ddr, volatile uint8_t latch, uint8_t clock, uint8_t data);
void shift_out(volatile uint8_t* port, volatile uint8_t latch, uint8_t clock, uint8_t data, uint8_t c);
void shift_out_short(volatile uint8_t* port, volatile uint8_t latch, uint8_t clock, uint8_t data, uint16_t c);
void shift_out_string(volatile uint8_t* port, volatile uint8_t latch, uint8_t clock, uint8_t data, uint8_t* s, uint8_t l);

#endif

